package com.heaven.back.service;

import com.heaven.back.pojo.Item;
import com.heaven.back.pojo.Player;

import java.util.ArrayList;
import java.util.List;

public interface ActionService {
    Player Login(Player p);

    void add(Player p);

    void update(Player player);

    Player searchByid(Integer id);

    String image(String room);

    String searchEffect(int eatEffect);

    List<Item> item();


    ArrayList<String> searchByroom(String roomName);
}
